package com.huatai.bi.dto.bigScreen;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @BelongsProject: itc-airport-cloud
 * @BelongsPackage: com.itc.bi.dto.bigScreen
 * @Author: hecaiy
 * @CreateTime: 2024-07-13  13:38
 * @Description: TODO
 * @Version: 1.0
 */
@Data
@ApiModel(value = "大屏Y轴配置")
public class BigScreenYAxisDTO implements Serializable{

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "数据集字段")
    private String key;

    @ApiModelProperty(notes = "聚合公式  常用7个公式")
    private String computer;

    @ApiModelProperty(notes = "是否是指标")
    private Boolean aggregate;
    private String label;

    @ApiModelProperty(notes = "二次计算  sum:累计 组内累计:groupSum ")
    private String summationType;

    @ApiModelProperty(notes = "小数位数")
    private Integer scale=2;

    @ApiModelProperty(notes = "是否百分比")
    private Boolean percent=false;
}
